package com.rp.system.po;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.Type;
import org.raptor.entity.BaseModel3;

/**
 * 角色菜单
 * @author 黄健
 *
 */
@Entity
@Table(name="RP_SYSTEM_ROLE_MENUS")
public class RoleMenu extends BaseModel3 {

	private static final long serialVersionUID = -3784581558062008527L;
	
	private String roleId;
	private String menuId;
	private String menuItemIds;
	
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public String getMenuId() {
		return menuId;
	}
	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}
	
	@Lob
	@Type(type="org.springframework.orm.hibernate3.support.ClobStringType")
	public String getMenuItemIds() {
		return menuItemIds;
	}
	public void setMenuItemIds(String menuItemIds) {
		this.menuItemIds = menuItemIds;
	}
	
}
